]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: Use clutter constant instead of true
authorCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 10 Jun 2014 18:25:16 +0000 (20:25 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 10 Jun 2014 19:22:51 +0000 (21:22 +0200)
js/ui/viewSelector.js

index 4d629793b8b772a073092fbf205e5d179ef1690a..bc157dcdbd977f243a7f12524fa3eb8b8e3edd7f 100644 (file)
@@ -285,10 +285,10 @@ const ViewSelector = new Lang.Class({
         } else if (!this._searchActive && !global.stage.key_focus) {
             if (symbol == Clutter.Tab || symbol == Clutter.Down) {
                 this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
-                return true;
+                return Clutter.EVENT_STOP;
             } else if (symbol == Clutter.ISO_Left_Tab) {
                 this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_BACKWARD, false);
-                return true;
+                return Clutter.EVENT_STOP;
             }
         }
         return Clutter.EVENT_PROPAGATE;